<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>student</title>
</head>
<body>
<p style="background-color: darkseagreen">
    ${...}可以显示后台变量
</p>
<div th:object="${student}">
    <h1 th:text="*{name}"></h1>
    <h1 th:text="*{no}"></h1>
</div>
</body>
</html>